#pragma once

#include "GameStateTypes.h"

class GameState;

class StateManager
{
public:
	StateManager();
	~StateManager();

	void initialize(StateType startState);
	void cleanup();

	void runCurrentState();
	void changeState(StateType type);
private:
	GameState* currentState;
	GameState* const getState(StateType type);
};

